<?php

namespace app\common\exception;

use think\Exception;

class App extends Exception
{
    protected $httpCode = 500;
    protected $clientMessage = 'Service unavailable';
    protected $errorCode = 10000;

    public function getHttpCode() {
        return $this->httpCode;
    }

    public function errCode() {
        return $this->errorCode;
    }

    public function getClientMessage() {
        return $this->clientMessage;
    }
}